#ifndef _DISPLAY_H
#define _DISPLAY_H
#include "sys.h"

extern float ADCfront;
extern float ADCback;
extern char DetectionMsg[20];
extern char DiodeDetectionMsg[20];
extern const unsigned char gImage_TI_s_down[98560];

void Displaytopic(void);
void DisplayButtons(void);
void FlashDisplay(void);
void FlashADCDisplay(float ADCgroupA, float ADCgroupB, uint8_t cnt);
void ADCDisplay(void);
void DisplayDetectionMsg(void);
void countdown(int time);

typedef struct ErrorInfo {
	int8_t ele;
	int8_t no;
	int8_t fault;
} ei;

#endif